
// import oimo.collision.geometry.RayCastHit;
// import oimo.dynamics.rigidbody.Shape;

import { Shape } from "../rigidbody/Shape";
import { RayCastHit } from "../../collision/geometry/RayCastHit";

/**
 * A callback class for ray casts in a world.
 */

export class RayCastCallback {

	/**
	 * Default constructor.
	 */
	constructor() {
	}

	/**
	 * This is called every time the world detects a shape `shape` that
	 * the ray intersects with the hit data `hit`.
	 */
	public process(shape: Shape, hit: RayCastHit): void {
	}

}
